{% load static %}
<div class="lbox">
<!--banbox begin-->
<div class="banbox">
    <div class="banner">
        <div id="banner" class="fader">
            {% for carousel in carousel_list %}
                <li class="slide" ><a href="{% url 'blog:article' carousel.article.pk %}" target="_blank"><img src="{{ carousel.img.url }}"></a></li>
            {% endfor %}
            <div class="fader_controls">
                <div class="page prev" data-target="prev"></div>
                <div class="page next" data-target="next"></div>
                <ul class="pager_list">
                </ul>
            </div>
        </div>
    </div>
</div>
<!--banbox end-->
<!--headline begin-->
<div class="headline">
    <ul>
        {% for ad in ads|slice:":2" %}
            <li><a href="{{ad.url}}" title="{{ ad.desc }}" target="_blank"><img src="{{ ad.img.url }}" alt="{{ ad.desc }}"></a></li>
        {% endfor %}
    </ul> 
</div>
<!--headline end-->